/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Teste;

import fachada.FachadaBDR;
import funcionario.Funcionario;

/**
 *
 * @author Administrador
 */
public class TesteFuncionario {
    
    public static void main(String[] args) throws Exception {
        
        try {
            FachadaBDR objFachadaBDR = FachadaBDR.getInstancia();
            
            Funcionario objFuncionario = objFachadaBDR.procurarFuncionario(1);
            
            System.out.println(objFuncionario.getNome());
            
        } catch (Exception e) {
            System.out.println("oi " + e.getMessage());
        }
    }
}
